package day20171101;

/**
 * Created by Administrator on 2017-11-1.
 */
public class StringTest {

    public static void main(String[] args) {


        String hello = "hello, WOrld!";


        System.out.println(hello.toUpperCase());

        System.out.println(hello.toLowerCase());


        System.out.println(hello.startsWith("He"));
        System.out.println(hello.endsWith("d!"));


        System.out.println(hello.trim());

        System.out.println(hello.substring(2,5));


        String[] result  = hello.split(",");


    }
}
